//
//  BaseBettingViewController.m
//  WangLottery
//
//  Created by 黄修勇 on 12-4-26.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "BaseBettingViewController.h"

@interface BaseBettingViewController ()

@end

@implementation BaseBettingViewController

@synthesize titleString=_titleString;
@synthesize lotteryType=_lotteryType;
@synthesize titleLabel=_titleLabel;

-(void)dealloc{
    [_titleLabel release];
    [_titleString release];
    [super dealloc];
}

-(void)setTitleString:(NSString *)titleString{
    
    if ([titleString isEqualToString:_titleString]) {
        return;
    }
    [_titleString release];
    _titleString=[titleString retain];
    self.titleLabel.text=_titleString;
}

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
}

-(IBAction)randomSelect:(id)sender{
}

-(IBAction)betting:(id)sender{
}

-(IBAction)doColletion:(id)sender{
}

-(void)random{

}

-(void)removeAllSelect{
}
- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

@end
